//
//  WHHeaderView.h
//  GroupFourFM
//
//  Created by dllo on 15/12/29.
//  Copyright © 2015年 GroupFour. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WHHeaderViewDelegate <NSObject>

-(void)presentToLoginC;

@end

@interface WHHeaderView : UIView<UIImagePickerControllerDelegate,UINavigationControllerDelegate>

@property (nonatomic, strong) UIScrollView *imageScrollView;
@property (nonatomic, strong) UIImageView *imageView; //背景图片
@property (nonatomic, strong) UIImageView *imageBackgroundView;//改变的背景图片
@property (nonatomic, strong) UIImageView *imageTitle; //选择的用户头xiang
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) id<WHHeaderViewDelegate>loginDelegate;
/**
 *  改变顶部view的大小和高斯效果
 *
 *  @param offset scrollview滑动的记录
 */
-(void)updateHeaderView:(CGPoint) offset;



@end
